<?php
require("libs/Smarty.class.php");
require("KBDao.php");
$smarty = new Smarty();

$dao =new KBDao();
$kb= $dao->findall();
$smarty->assign("docs", $kb);
$smarty->display("template/index.html");
?>
